package com.situ.yB2C.area.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.situ.yB2C.area.dao.AreaDao;
import com.situ.yB2C.area.pojo.Area;
import com.situ.yB2C.area.service.AreaService;

@Service
public class AreaServiceImpl implements AreaService {
	
	
	@Autowired
	private AreaDao areaDao;
	
	@Override
	public List<Area> findAreaListByParentCode(Integer parentCode) {
		//return null;
	return areaDao.selectAreaByParent(parentCode);
		
	}

}
